package com.rtx.edi.model.request;

import com.rtx.api.annotation.FieldValidate;
import com.rtx.api.enums.FieldValidateType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * API同步请求
 */
@ApiModel("API统一请求实体类")
public class SyncRequest {

    @ApiModelProperty(value = "公司id")
    @FieldValidate(type = FieldValidateType.ALL)
    private Long companyId;

    @ApiModelProperty(value = "对接场景id")
    @FieldValidate(type = FieldValidateType.ALL)
    private Long apiMappingId;

    @ApiModelProperty(value = "请求数据")
    private Object data;

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getApiMappingId() {
        return apiMappingId;
    }

    public void setApiMappingId(Long apiMappingId) {
        this.apiMappingId = apiMappingId;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
